#include<bits/stdc++.h>
using namespace std;
int a[1000005];
int main(){
    freopen("color.in","r",stdin);
    freopen("color.out","w",stdout);
    puts("1");
    puts("0");
    puts("8");
    return 0;
}
